package com.smt.ejb3.tutoria;

import javax.ejb.Remote;
import javax.ejb.Stateful;

@Stateful
@Remote
public class StatefulEjbBean implements StatefulEjb {
	
	private int state;
	
	@Override
	public void add() {
		state++;
	}

	@Override
	public int get() {
		return state;
	}

}
